PublicStreamingLayout class Null safety

公共流布局

Constructors

PublicStreamingLayout({required List<PublicStreamingRegion> regions, int interpolationMode = 0, int layoutMode = 2, String backgroundImage = '', String backgroundColor = '#000000'})

Properties

backgroundColor ↔ String
背景颜色。格式为 RGB 定义下的 Hex 值,如 #FFB6C1 表示浅粉色。默认值 #000000,表示为黑色
read / write
backgroundImage ↔ String
画布的背景图片地址
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
interpolationMode ↔ int
插帧模式: [...]
read / write
layoutMode ↔ int
公共流布局模式,2: 自定义模式。
read / write
regions ↔ List<PublicStreamingRegion>
合成公共流的每条流的布局信息
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited